# name : mantelhaen.test (pipe), Cochran-Mantel-Haenszel Chi-Squared Test for Count Data
# key : mantelhaen.test
# key : cmh.test
# contributor: Shuguang Sun
# --
${1:df} |>
{
mantelhaen.test(
as.factor(.\$${2:aval}),
as.factor(.\$${3:group}),
as.factor(.\$${4:strata})
)
}